package com.wyh.inter;

public interface Animal {
    public static final String name = "小黄";//接口中的变量默认是public static final修饰的

    public void run();

    default void sleep(){
        System.out.println("Animal sleeping......");
    }

    static void live(){
        System.out.println("Animal living......");
    }
}
